﻿@using ZR.CodeGenerator
@using ZR.Model.System.Generate
@using Infrastructure.Extensions;
@using ZR.Model.System.Model.Enums;
@* @model ZR.CodeGenerator.Model.GenerateDto; *@
@{
    var genTable = Model.GenTable;
    var entityClassName = genTable.EntityClassName;

    var genOptions = Model.GenOptions;



}
using Infrastructure.Attribute;
using Infrastructure.Extensions;
using System.Linq.Expressions;
using Infrastructure;
using Microsoft.AspNetCore.Mvc;
using Infrastructure.Filters;
using Mapster;
using @(genOptions.RepositoriesNamespace);
using @(genOptions.IServicsNamespace).@(genOptions.SubNamespace).IService;
using @(genOptions.DtosNamespace).@(genOptions.SubNamespace).Dto;
using @(genOptions.DtosNamespace).@(genOptions.SubNamespace).Entity;
using @(genOptions.ModelsNamespace).Enums;
@if(genTable.TplCategory == "tree")
{
@:using System.Collections.Generic;
}

namespace @(genOptions.ServicesNamespace).@(genOptions.SubNamespace).Service
{

    /// <summary>
    /// @(genTable.FunctionName)服务
    /// </summary>
    [AppService(ServiceType = typeof(I@(genTable.FunctionCode)Service), ServiceLifetime = LifeTime.Scoped)]
    public class @(genTable.FunctionCode)Service : @(genTable.FunctionCode)ServiceBase, I@(genTable.FunctionCode)Service
    {
        #region 重写



        #endregion

        #region 新增



        #endregion

        #region 其他



        #endregion
    }
}